From deccd36658bb9ac0f50d8a34075e83dfb1414a0b Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 27 Jan 2001 11:43:46 +0000 Subject: [PATCH] (transient-mark-mode): Document the fact that many commands act on the region when mark is active. --- lisp/simple.el | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lisp/simple.el b/lisp/simple.el index 36780f1a0b2..4a35844758d 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -2334,7 +2334,15 @@ In Transient Mark mode, when the mark is active, the region is highlighted. Changing the buffer \"deactivates\" the mark. So do certain other operations that set the mark but whose main purpose is something else--for example, -incremental search, \\[beginning-of-buffer], and \\[end-of-buffer]." +incremental search, \\[beginning-of-buffer], and \\[end-of-buffer]. + +Many commands change their behavior when Transient Mark mode is in effect +and the mark is active, by acting on the region instead of their usual +default part of the buffer's text. Examples of such command include +\\[comment-dwim], \\[flush-lines], \\[ispell], \\[keep-lines], +\\[query-replace], \\[query-replace-regexp], and \\[undo]. Invoke +\\[apropos-documentation] and type \"transient\" at the prompt, to see +the documentation of commands which are sensitive to the Transient Mark mode." (interactive "P") (setq transient-mark-mode (if (null arg) -- 2.30.2